package com.jk.entity.account;

import com.jk.entity.BaseEntity;
import org.apache.ibatis.type.Alias;

import java.util.List;

/**
 * ACC_PERMISSION entity
 * Tue Sep 22 11:02:19 CST 2015 yanghuan
 */ 
@Alias("AccPermission")
public class AccPermission extends BaseEntity {
	private String accPermissionId;
	private String accPermissionName;
	private String accPermissionKey;
	private String accPermissionParentId;
	private Integer accPermissionOrder;
	private List<AccPermission> children;

	public void setAccPermissionId(String accPermissionId) {
		this.accPermissionId = accPermissionId;
	}

	public String getAccPermissionId() {
		return accPermissionId;
	}

	public void setAccPermissionName(String accPermissionName) {
		this.accPermissionName = accPermissionName;
	}

	public String getAccPermissionName() {
		return accPermissionName;
	}

	public void setAccPermissionKey(String accPermissionKey) {
		this.accPermissionKey = accPermissionKey;
	}

	public String getAccPermissionKey() {
		return accPermissionKey;
	}

	public void setAccPermissionParentId(String accPermissionParentId) {
		this.accPermissionParentId = accPermissionParentId;
	}

	public String getAccPermissionParentId() {
		return accPermissionParentId;
	}

	public void setAccPermissionOrder(Integer accPermissionOrder) {
		this.accPermissionOrder = accPermissionOrder;
	}

	public Integer getAccPermissionOrder() {
		return accPermissionOrder;
	}

	public List<AccPermission> getChildren() {
		return children;
	}

	public void setChildren(List<AccPermission> children) {
		this.children = children;
	}
}

